package com.boot;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document
public class Student implements Serializable {

    @Id
    private  String id;
    private  String name;
    private  Integer age;

}
